//
//  CarShipTaxCalculate.h
//  EasyToo
//
//  Created by YuanDee on 13-9-16.
//
//

#import <Foundation/Foundation.h>
#import "CarShipTaxInfo.h"

@interface CarShipTaxCalculate : NSObject
@property (nonatomic, retain) NSMutableArray *taxByYear;
//正在计算税费的年份，因为根据当前车船税法，2011年（含）以前的税费，不管排量，一年都是420，2011年以后的则按新规计算
@property (nonatomic, assign) int calcYear;
//当前年份
@property (nonatomic, assign) int currentYear;
//输入的最后缴费年份
@property (nonatomic, assign) int inputYear;
//最后缴费年份
@property (nonatomic, assign) int latestPaidYear;
//是否欠费状态
@property (nonatomic, assign) BOOL isOverdue;
//欠费年数
@property (nonatomic, assign) int overdueYear;
//逾期天数
@property (nonatomic, assign) int overdueDay;
//排量
@property (nonatomic, assign) float displacement;

-(id)initWithLatestPaidYear:(int)year
            andDisplacement:(float)displacement;

-(BOOL)calculateTax;
@end
